package org.example.admin.config;

import org.example.admin.mapper.DemoMapper;
import org.noear.solon.annotation.Configuration;
import org.noear.solon.aot.RuntimeNativeMetadata;
import org.noear.solon.aot.RuntimeNativeRegistrar;
import org.noear.solon.core.AopContext;

@Configuration
public class MyRuntimeNativeRegistrar implements RuntimeNativeRegistrar {
    @Override
    public void register(AopContext context, RuntimeNativeMetadata metadata) {
        metadata.registerSerialization(DemoMapper.class);
        metadata.registerResourceInclude("org.example.admin.mapper.DemoMapper.selectById");
    }
}
